﻿$(function () {

    $(".reply").click(ShowReply);
    var imagePos = $(".original_image>img").offset();
    $(".about").css({ top: imagePos.top,
        left: (imagePos.left + $(".original_image>img").outerWidth())
    });
    


    function ShowReply() {

        var position = $(this).offset({});
        
        message_box.show_message("<img alt='' src='/Content/loading.gif'>", position.left, position.top, false)
        $.get($(this).attr("href"),
                        function (data)
                        { message_box.show_message(data, position.left, position.top, false) });
       
        return false;
    };

});